﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Globalization;
/// <summary>
///DelayWeiboData 的摘要说明
/// </summary>
public class DelayWeiboData
{
    /// <summary>
    /// 标识符
    /// </summary>
    public int id;

    /// <summary>
    /// 原始微博ID
    /// </summary>
    public string weiboId;

    /// <summary>
    /// 原始评论ID，如果回复的是评论，此值有效
    /// </summary>
    public string commentId;

    /// <summary>
    /// 设置的回复内容
    /// </summary>
    public string reply;

    /// <summary>
    /// 回复时使用的帐号
    /// </summary>
    public string replyAccount;

    /// <summary>
    /// 设置的回复时间
    /// </summary>
    public DateTime replyTime;

    /// <summary>
    /// 记录被创建的时间
    /// </summary>
    public DateTime addTime;

	public DelayWeiboData()
	{
        
       
	}

    public string toJson()
    {
        return "{" + string.Format("\"id\":{0}, \"weiboId\":\"{1}\", \"reply\":\"{2}\", \"replyAccount\":\"{3}\", \"replyTimeMillisecond\":{4}, \"commentId\":\"{5}\"", id, weiboId, reply, replyAccount, TimeUtil.ToMillisecond(replyTime), commentId) + "}";
    }
}